﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace LevelGenerator
{
    public class Level
    {
        private List<Room> rooms = new List<Room>();
        private List<Corridor> corridors = new List<Corridor>();
        private Vector2 startPoint;

        public Vector2 StartPoint
        {
            get { return startPoint; }
            set { startPoint = value; }
        }

        public List<Room> Rooms
        {
            get { return rooms; }
        }

        public List<Corridor> Corridors
        {
            get { return corridors; }
        }

        public Level(List<Room> rooms, List<Corridor> corridors)
        {
            this.rooms = rooms;
            this.corridors = corridors;

            startPoint = new Vector2(rooms[0].Boundary.Center.X,
                                        rooms[0].Boundary.Center.Y);
        }

        

    }
}
